import React, { useState } from "react"
import { formDate } from '@/assets/utils';
import  HomeHead from '@/components/HomeHead';

const Home = function Home (props) {
    let [today, setToday] = useState(formDate(new Date(), 'MM-DD'));
    
    return (
        <>
              <div className="home-box"><HomeHead today={today }  {...props} /></div>;
        </>
    )

}

export default Home